package com.ydl.learning.scala.packageobject

/**
  *
  *
  * @author ydl
  * @since 2021/3/19
  */
case class Fruit(name: String, color: String)
object Apple extends Fruit("Apple", "green")
object Plum extends Fruit("Plum", "blue")
object Banana extends Fruit("Banana", "yellow")
